/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package framework.view;

import java.util.HashMap;
import javax.swing.JDialog;

/**
 *
 * @author ThanhNguyen
 */
public abstract class AbstractDialog extends JDialog {

    public abstract void initComponents();

    public AbstractDialog() {
        fields = new HashMap<>();
        initComponents();
    }
    protected boolean OK;
    private HashMap<String, String> fields;

    public HashMap<String, String> getFields() {
        return fields;
    }

    public boolean isOK() {
        return OK;
    }
}
